package avicit.bdp.dlm.vo;

import avicit.bdp.common.dto.NodeInfo;
import avicit.bdp.common.dto.NodeStorageDetail;

import java.util.List;

/**
 * @author mayanj
 * 存储查看VO
 */
public class DataSourceViewVo {


    /**
     * 基础信息
     */
    private DataSourceBaseInfoVo baseInfo;

    /**
     * 存储信息
     */
    private StorageInfoVo storageInfo;


    /**
     * 节点数据
     *
     */
    private List<NodeInfo> nodeInfo;

    /**
     * 节点数据
     */
    private List<NodeStorageDetail> storageTop5;

    public DataSourceBaseInfoVo getBaseInfo() {
        return baseInfo;
    }

    public void setBaseInfo(DataSourceBaseInfoVo baseInfo) {
        this.baseInfo = baseInfo;
    }

    public StorageInfoVo getStorageInfo() {
        return storageInfo;
    }

    public void setStorageInfo(StorageInfoVo storageInfo) {
        this.storageInfo = storageInfo;
    }

    public List<NodeInfo> getNodeInfo() {
        return nodeInfo;
    }

    public void setNodeInfo(List<NodeInfo> nodeInfo) {
        this.nodeInfo = nodeInfo;
    }

    public List<NodeStorageDetail> getStorageTop5() {
        return storageTop5;
    }

    public void setStorageTop5(List<NodeStorageDetail> storageTop5) {
        this.storageTop5 = storageTop5;
    }

    @Override
    public String toString() {
        return "DataSourceViewVo{" +
                "baseInfo=" + baseInfo +
                ", storageInfo=" + storageInfo +
                ", nodeInfo=" + nodeInfo +
                ", storageTop5=" + storageTop5 +
                '}';
    }

}
